package com.lagou.edu.service;

import com.lagou.edu.pojo.Token;
import com.lagou.edu.pojo.User;

public interface UserService {
    User findByEmail(String email);

    void save(User user);

    String login(String email, String password);

    Token findByToken(String token);
}
